<template>
  <div class="banner">
    <div class="swiper-container">
      <div class="swiper-wrapper">
        <div class="swiper-slide">
          <img src="../../static/image/banner1.jpg" alt="">
        </div>
        <div class="swiper-slide">
          <img src="../../static/image/banner1.jpg" alt="">
        </div>
      </div>
      <div class="swiper-pagination"></div>
    </div>
  </div>
  <!--焦点图-->
</template>
<style>

</style>
<script>
  import Swiper from '../../static/javascript/swiper.min'
  import '../../static/javascript/swiper.min.css'
    export default{
        data(){
            return{
                msg:'hello vue'
            }
        },
        components:{

        },
      mounted(){
            var mySwiper = new Swiper('.swiper-container',{
              pagination: '.swiper-pagination',
            })
      }
    }
</script>
